import React from "react";
import { useParams } from "react-router-dom";

export default function About() {
  // 如果想获取 /xxx/:id 上的动态参数
  const data = useParams();
  console.log(data);
  return <div>About</div>;
}
